package com.czk.domain;

import com.czk.domain.protocol.Command;
import com.czk.domain.protocol.Packet;

/**
 * 消息协议
 *
 * @Author:ChenZhangKun
 * @Date: 2021/4/30 10:18
 */
public class MsgDemo1 extends Packet {
    private String channelId;
    private String demo1;

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getDemo1() {
        return demo1;
    }

    public void setDemo1(String demo1) {
        this.demo1 = demo1;
    }

    public MsgDemo1(String channelId, String demo1) {
        this.channelId = channelId;
        this.demo1 = demo1;
    }

    @Override
    public Byte getCommand() {
        return Command.demo01;
    }
}
